home *** CD-ROM | disk | FTP | other *** search
/ Software Vault: The Gold Collection / Software Vault - The Gold Collection (American Databankers) (1993).ISO / cdr18 / cu_struc.zip / CU-STRUC.DOC
Text File  |  1993-05-12  |  4KB  |  90 lines

  1. /******************************************************************************/ 
  2. /*                          C O M M U N I Q U É                               */ 
  3. /*                                                                            */ 
  4. /*                                                                            */ 
  5. /*                Communiqué Dialing Directory Data Structure                 */
  6. /*                                                                            */ 
  7. /*                                                                            */ 
  8. /*                                                                            */ 
  9. /* BY  : Adam Blake                                        Copyright (c) 1993 */
  10. /* VER : 1.11                                             Wandoo Valley Corp. */
  11. /* DATE: 1st March 1993                                Wandoo Valley Software */
  12. /*                                                        All Rights Reserved */
  13. /******************************************************************************/ 
  14.  
  15.  
  16.  
  17. /*******************************"C" Structures*********************************/
  18.  
  19. typedef unsigned char byte;
  20. typedef unsigned char bool;
  21.  
  22. typedef struct {
  23.           char    NameLength;
  24.           char    Name[30];
  25.           char    NumberLength;
  26.           char    Number[20];
  27.           char    PasswordLength;
  28.           char    Password[20];
  29.           long    BaudRate;
  30.           byte    DataBits;
  31.           byte    StopBits;
  32.           byte    Parity;
  33.           byte    DialSuffix;
  34.           byte    DialPrefix;
  35.           byte    Emulation;
  36.           byte    Protocol;
  37.           byte    Profile;
  38.           byte    MiscStatus;
  39.           bool    Avatar;
  40.           bool    LineFeed;
  41.           bool    Translate;
  42.           bool    LocalEcho;
  43.           bool    WordWrap;
  44.           bool    IEMSI;
  45.           char    MacroLength;
  46.           char    Macro[8];
  47.           char    ScriptLength;
  48.           char    Script[8];
  49.           long    LastTime;
  50.           long    LastDate;
  51.           long    NoteRec;  /*Not implemented in shareware version*/
  52.           bool    Tagged;
  53.           char    Future[11];
  54. } DialingDirectory;
  55.  
  56.  
  57. (******************************PASCAL Structures*******************************)
  58.  
  59. type
  60.   DialingDirectory  = record
  61.                         Name           : string[30];
  62.                         Number         : string[20];
  63.                         Password       : string[20];
  64.                         BaudRate       : longint;
  65.                         DataBits,
  66.                         StopBits,
  67.                         Parity         : byte;
  68.                         DialSuffix,
  69.                         DialPrefix,
  70.                         Emulation,
  71.                         Protocol,
  72.                         Profile,
  73.                         MiscStatus     : byte;
  74.                         Avatar,
  75.                         LineFeed,
  76.                         Translate,
  77.                         LocalEcho,
  78.                         WordWrap,
  79.                         IEMSI          : boolean;
  80.                         Macro,
  81.                         Script         : string[8];
  82.                         LastTime,
  83.                         LastDate,
  84.                         NoteRec        : longint;  (*Not implemented in shareware version*)
  85.                         Tagged         : boolean;
  86.                         Future         : string[10];
  87.                       end;
  88.  
  89.  
  90.